package shop.services.front.organizeAccount.impl;

import org.springframework.stereotype.Service;
import shop.core.ServicesManager;
import shop.services.front.organizeAccount.OrganizeAccountService;
import shop.services.front.organizeAccount.bean.OrganizeAccount;
import shop.services.front.organizeAccount.dao.OrganizeAccountDao;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Administrator on 2017/4/22.
 */
@Service("organizeAccountServiceFront")
public class OrganizeAccountServiceImpl extends ServicesManager<OrganizeAccount, OrganizeAccountDao> implements OrganizeAccountService {
    @Resource(name = "organizeAccountDaoFront")
    @Override
    public void setDao(OrganizeAccountDao organizeAccountDao) {
        this.dao=organizeAccountDao;
    }

    @Override
    public List<OrganizeAccount> selectListByAccount(OrganizeAccount organizeAccount) {
        return dao.selectListByAccount(organizeAccount);
    }
}
